package cn.yfxu.server.service;

import cn.yfxu.server.pojo.Employee;
import cn.yfxu.server.pojo.PageResult;
import cn.yfxu.server.pojo.Result;
import com.baomidou.mybatisplus.extension.service.IService;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yfxu
 * @since 2021-03-10
 */
public interface IEmployeeService extends IService<Employee> {

    PageResult getEmployeeByPage(Integer currentPage, Integer size, Employee employee, LocalDate[] beginDateScope);

    Result maxWorkID();

    Result addEmp(Employee employee);
    //查询员工
    List<Employee> getEmployee(Integer id);
}
